.class Lcom/waiqin365/lightapp/view/cp;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/base/calendar/b;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/CalendarView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/CalendarView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/CalendarView;->a(Lcom/waiqin365/lightapp/view/CalendarView;)I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CalendarView;->getHeight()I

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->a(Lcom/waiqin365/lightapp/view/CalendarView;I)I

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CalendarView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/CalendarView;->a(Lcom/waiqin365/lightapp/view/CalendarView;)I

    move-result v1

    add-int/2addr v1, p1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/cp;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method
